import request from '@/utils/request.js'

//提供调用注册接口的函数
export const userRegisterService = (registerData)=>{
    return request.post('/teach-system/admin/register',registerData);
}

//提供调用登录接口的函数
export const userLoginService = (loginData)=>{
    return request.post('/teach-system/admin/login',loginData)
}

//获取所有管理员信息
export const getAllAdminInfo=()=>{
    return request.get()
}